﻿using Abp.Domain.Entities.Auditing;
using Camc.Quality.StoreManagement.StoreInfo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Camc.Quality.TrepanningManager.BomAnalyse
{
    /// <summary>
    /// 设计bom主页Grid数据
    /// </summary>
    public class BomAnalyseContent : FullAuditedEntity<Guid>
    {
        /// <summary>
        /// 汇总表id
        /// </summary>
        public Guid CollectBomManagerId { get; set; }
        
        /// <summary>
        /// 物料图号
        /// </summary>
        public string MaterialNo { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Module { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public Guid Unit { get; set; }
        /// <summary>
        ///芯级用量
        /// </summary>
        public int BomDosageTotalAmount { get; set; }
        /// <summary>
        /// 自由库存数量 :库存未预配套的数量，即自由状态数量
        /// </summary>
        public int FreeQuantityStock  { get; set; }
        /// <summary>
        /// 可用库存数量 :自由库存数量中符合条件可自动配套的产品数量
        /// </summary>
        public int UsableQuantityStock { get; set; }
        /// <summary>
        /// 预配套数量
        /// </summary>
        public int PreSuiteStock { get; set; }
        /// <summary>
        /// 缺料数量
        /// </summary>
        public int StarvingStock { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public int DeliveryStock { get; set; }
        /// <summary>
        /// 预配套状态
        /// </summary>
        public int PreSuiteStatus { get; set; }
        /// <summary>
        /// 预配套人
        /// </summary>
        public string PreSuiteName { get; set; }
        /// <summary>
        /// 预配套时间
        /// </summary>
        public DateTime PreSuiteTime { get; set; }
        ///// <summary>
        ///// 库存主表ID
        ///// </summary>
        //public Guid StoreStockId { get; set; }
        /// <summary>
        /// 物料详细表id
        /// </summary>
        public Guid MaterialsContentId { get; set; }




    }
}
